<?php $menu = new Default_Model_DbTable_Menu()?>
<?php foreach ($this->allCat as $k=>$cat){
	if($k % 2 == 0){?>
<div class="services left">
    	<div class="ser_l"></div> 
        <div class="ser_c">
        	<div class="ser_bn">
            	<div class="ser_bn_img_<?php echo $k+1;?>"><img src="<?php echo $cat->IMG?>" alt="<?php echo $cat->MENU_NAME?>" title="<?php echo $cat->MENU_NAME?>" /></div>
               <div class="ser_bn_text_<?php echo $k+1;?>"><?php echo $cat->MENU_NAME?></div> 
            </div>
            <div class="ser_con">
            <ul>
            <?php foreach($menu->getMenuByParent($cat->ID, 1) as $li):?>
                	<li>
                    	<img src="<?php echo $li->IMG?>" border="1" alt="images" title="<?php echo $li->MENU_NAME?>" />
                        <div class="ctn_ser"><a href="<?php echo DOMAIN."/".$li->CONTROLLER?>"><?php echo $li->MENU_NAME?></a></div>
                    </li>
            <?php endforeach; ?>
            </ul>
            	
            </div>
        </div>
        <div class="ser_r"></div>
    </div><!--End services-->
    <?php }else{?>
        <div class="services right">
    	<div class="ser_l"></div>
        <div class="ser_c">
        	<div class="ser_bn">
            	<div class="ser_bn_img_<?php echo $k+1;?>"><img src="<?php echo $cat->IMG?>" alt="<?php echo $cat->MENU_NAME?>" title="<?php echo $cat->MENU_NAME?>" /></div>
               <div class="ser_bn_text_<?php echo $k+1;?>"><?php echo $cat->MENU_NAME?></div> 
            </div>
            <div class="ser_con">
             <ul>
            <?php foreach($menu->getMenuByParent($cat->ID, 1) as $li):?>
                	<li>
                    	<img src="<?php echo $li->IMG?>" border="1" alt="images" title="<?php echo $li->MENU_NAME?>" />
                        <div class="ctn_ser"><a href="<?php echo DOMAIN."/".$li->CONTROLLER?>"><?php echo $li->MENU_NAME?></a></div>
                    </li>
            <?php endforeach; ?>
            </ul>
            </div>
        </div>
        <div class="ser_r"></div>
    </div><!--End services-->
<?php }}?>
